package com.xyht.sca_s.student_manage_system.modules.walkThrough.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author XYHT
 * @since 2023-02-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_walk_through")
@ApiModel(value="SmsWalkThrough对象", description="")
public class SmsWalkThrough implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "关联学生id	关联账号id")
    private String userId;

    @ApiModelProperty(value = "学生")
    private String stuId;

    @ApiModelProperty(value = "学号")
    private String stuNo;

    @ApiModelProperty(value = "姓名")
    private String stuName;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "身份证")
    private String stuCard;

    @ApiModelProperty(value = "民族")
    private String stuNation;

    @ApiModelProperty(value = "学院")
    private String stuCollage;

    @ApiModelProperty(value = "所在专业")
    private String stuMajor;

    @ApiModelProperty(value = "班级名称")
    private String stuClass;

    @ApiModelProperty(value = "入学时间")
    private Date stuEnterDate;

    @ApiModelProperty(value = "手机号")
    private String stuPhone;

    @ApiModelProperty(value = "家庭电话")
    private String telephone;

    @ApiModelProperty(value = "籍贯")
    private String birthPlace;

    @ApiModelProperty(value = "家庭住址")
    private String address;

    @ApiModelProperty(value = "负责老师")
    private String keyWorker;

    @ApiModelProperty(value = "负责老师电话")
    private String workerPhone;

    @ApiModelProperty(value = "申请时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date applicationTime;

    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private Integer isDeleted;

    private Date creatTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "走读事由")
    private String walkReasons;

    @ApiModelProperty(value = "走读时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date walkTime;

    @ApiModelProperty(value = "返校时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date comeTime;

    @ApiModelProperty(value = "审核状态:0:待审批 1:已同意 2:已驳回")
    private Integer auditStatus;
}
